Cover | TOC | Chap | Prev Chap | Prev Fig | Next Fig | Next Chap |
|
Figure 7.10
A simple spaceship built with shapes in scaled coordinate systems. |
|
Click on the image to view the VRML scene. |
#VRML V2.0 utf8 # The VRML 2.0 Sourcebook # Copyright (c) 1997 # Andrea L. Ames, David R. Nadeau, and John L. Moreland Group { children [ # Wing DEF Wing Transform { scale 0.5 1.0 1.5 children Shape { appearance DEF White Appearance { material Material { } } geometry Cylinder { radius 1.0 height 0.025 } } }, # Fuselage DEF Fusalage Transform { scale 2.0 0.2 0.5 children Shape { appearance USE White geometry Sphere { } } }, # Wing detail and fusalage dome Transform { scale 0.3 2.0 0.75 children [ USE Wing, USE Fusalage ] } ] }